<template>
<div class="visit-list">

    <div class="panel-header">
        <span class="title">
            <i class="el-icon-tickets"></i>
            重复渠道
        </span>
        <span class="ftitle">[{{sourceList.length}}]</span>
    </div>
    <el-table :data="sourceList" border>
        <el-table-column label="渠道名称" prop="source.title"></el-table-column>
        <el-table-column label="添加者" prop="creator.realname"></el-table-column>
        <el-table-column label="添加时间" prop="create_time"></el-table-column>
    </el-table>
</div>
</template>

<script>
export default {
    props: {
        sourceList: {
            type: Array,
            default: []
        }
    }
}
</script>

<style lang="scss">
.visit-list {
    .panel-header {
        margin-top: 10px;
        padding: 10px 0;
        .title {
            font-weight: bold;
            font-size: 16px;
            color: #F56C6C;
        }
        .ftitle {
            font-size: 14px;
            padding: 0 3px;
        }
    }

    .field-width {
        width: 6rem;
    }
}
</style>
